
package com.zhitan.ems.app.patrol.wrapper;
import com.zhitan.ems.app.patrol.entity.PatrolNavEntity;
import com.zhitan.ems.app.patrol.vo.PatrolNavVO;
import com.zhitan.ems.common.extra.utils.BeanUtil;
import com.zhitan.ems.framework.core.mp.base.BaseEntityWrapper;

  /**
 * 导航 包装类,返回视图层所需的字段
 * @author zhitan
 * 
 * @date 2024-12-04 20:14:59
 */
public class PatrolNavWrapper extends BaseEntityWrapper<PatrolNavEntity, PatrolNavVO>  {
    public static PatrolNavWrapper build() {
        return new PatrolNavWrapper();
    }
	@Override
	public PatrolNavVO entityVO(PatrolNavEntity patrolNav) {
		if(patrolNav==null) {
			return null;
		}
		PatrolNavVO patrolNavVO = BeanUtil.copy(patrolNav, PatrolNavVO.class);
		return patrolNavVO;
	}

}
